/////////////////////////////////////////////////////////////////////////////
// Name:        wxtabpanel.h
// Purpose:     
// Author:      Stephen Whittle
// Modified by: 
// Created:     08/06/2009 20:27:09
// RCS-ID:      
// Copyright:   
// Licence:     
/////////////////////////////////////////////////////////////////////////////

#ifndef _WXTABPANEL_H_
#define _WXTABPANEL_H_


/*!
 * Includes
 */

////@begin includes
#include "wx/aui/framemanager.h"
#include "wx/aui/auibook.h"
#include "wx/aui/auibar.h"
////@end includes

/*!
 * Forward declarations
 */

////@begin forward declarations
class wxTabPanel;
class wxAuiNotebook;
////@end forward declarations

/*!
 * Control identifiers
 */

////@begin control identifiers
#define ID_PANEL 10017
#define ID_AUINOTEBOOK 10001
#define ID_TOOLBAR 10004
#define ID_TOOL 10005
#define ID_TOOL1 10006
#define ID_TOOL2 10007
#define ID_TOOL3 10008
#define ID_TOOL4 10016
#define ID_AUINOTEBOOK1 10003
#define SYMBOL_WXTABPANEL_STYLE wxSUNKEN_BORDER|wxTAB_TRAVERSAL
#define SYMBOL_WXTABPANEL_IDNAME ID_PANEL
#define SYMBOL_WXTABPANEL_SIZE wxDefaultSize
#define SYMBOL_WXTABPANEL_POSITION wxDefaultPosition
////@end control identifiers


/*!
 * wxTabPanel class declaration
 */

class wxTabPanel: public wxPanel
{    
    DECLARE_DYNAMIC_CLASS( wxTabPanel )
    DECLARE_EVENT_TABLE()

public:
    /// Constructors
    wxTabPanel();
    wxTabPanel(wxWindow* parent, wxWindowID id = ID_PANEL, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxSUNKEN_BORDER|wxTAB_TRAVERSAL);

    /// Creation
    bool Create(wxWindow* parent, wxWindowID id = ID_PANEL, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxSUNKEN_BORDER|wxTAB_TRAVERSAL);

    /// Destructor
    ~wxTabPanel();

    /// Initialises member variables
    void Init();

    /// Creates the controls and sizers
    void CreateControls();

////@begin wxTabPanel event handler declarations

////@end wxTabPanel event handler declarations

////@begin wxTabPanel member function declarations

    /// Returns the AUI manager object
    wxAuiManager& GetAuiManager() { return m_auiManager; }

    /// Retrieves bitmap resources
    wxBitmap GetBitmapResource( const wxString& name );

    /// Retrieves icon resources
    wxIcon GetIconResource( const wxString& name );
////@end wxTabPanel member function declarations

    /// Should we show tooltips?
    static bool ShowToolTips();

////@begin wxTabPanel member variables
    wxAuiManager m_auiManager;
    wxAuiNotebook* m_MainPane;
    wxAuiNotebook* m_SubPane;
////@end wxTabPanel member variables
};

#endif
